﻿using Common.Property;
using Domain.Com;
using DTO;
using DTO.DTO.Com.BasicType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IServices.Com
{
    public interface IBasicTypeService
    {
        #region
        Task<Result> Save(BasicTypeDetailDTO dto, OperatorInfo op);
        Task<bool> Delete(string id, OperatorInfo op);
        Task<bool> DeleteBatch(List<string> ids, OperatorInfo op);
        Task<BasicType> GetById(string id);
        Task<IEnumerable<BasicType>> GetByIds(List<string> ids);
        Task<Tuple<IEnumerable<BasicType>, int>> GetPageList(BasicTypeQueryDTO dto);
        Task<IEnumerable<BasicType>> GetList(BasicTypeQueryDTO dto);
        #endregion
    }
}
